FROM openjdk:8u181-jdk-alpine

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    echo "Asia/Shanghai" > /etc/timezone

WORKDIR /home/apps/
ADD ruoyi-monitor/target/*.jar .

EXPOSE 9100

ENTRYPOINT java -jar *.jar